package net.trustie.pipeline;

import javax.annotation.Resource;

import net.trustie.dao.CTO51Blogs_Dao;
import net.trustie.model.cto51_blog_Model;
import org.springframework.stereotype.Component;

import us.codecraft.webmagic.Task;
import core.PageModelPipeline;

@Component("51cto_blog_pipeline")
public class CTO51Blogs_pipeline implements PageModelPipeline<cto51_blog_Model>{
		@Resource
		private CTO51Blogs_Dao cto51Blogs_Dao;

		public void process(cto51_blog_Model ctoblogs_Model, Task tasks) {		
			cto51Blogs_Dao.add( ctoblogs_Model);
	

}


}
